﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using SCS.Core.Models;
using SCSService;
using System.Web;

namespace SCS.Core.ViewModels
{
    public class StockProductViewModels
    {
        public List<Product_Stock> ProductStockList { get; set; }
        public Product Product { get; set; }

        [DisplayName("QuantitySearch")]
        [RegularExpression("([0-9]+)")]
        public long? QuantitySearch { get; set; }

        [DisplayName("StockInSearch")]
        [DataType(DataType.Date)]
        [DisplayFormat(DataFormatString = "{0:d}")]
        public DateTime? StockInSearch { get; set; }

        [DisplayName("ModifyDateSearch")]
        [DataType(DataType.Date)]
        [DisplayFormat(DataFormatString = "{0:d}")]
        public DateTime? ModifyDateSearch { get; set; }

        [DisplayName("StatusSearch")]
        public int? StatusSearch { get; set; }
    }
}
